/**
  ******************************************************************************
  * @file    app_start.h
  * @author  Sherlock
  * @version V0.1
  * @date    07/31/2024
  * @brief   Initial all Periphs
  ******************************************************************************
  * @copy
  *
  * <h2><center>&copy; COPYRIGHT 2010 Feirui</center></h2>
  */ 

#ifndef  __APP_START_H__
#define  __APP_START_H__

#ifdef __cplusplus
 extern "C" {
#endif



/**
  * @brief GLOBALS RAM definition
  */
//#define APP_GLOBALS_START
#ifdef   APP_GLOBALS_START
#define  APP_EXT_START
#else
#define  APP_EXT_START  extern
#endif


#define OSCommFlags_Timing                         ((OS_FLAGS)DEF_BIT_00)
#define OSCommFlags_UpdateCfg                      ((OS_FLAGS)DEF_BIT_01)
#define OSCommFlags_ALL                            (OSCommFlags_Timing | OSCommFlags_UpdateCfg)

#define RS485HandleFlags_Timing                    ((OS_FLAGS)DEF_BIT_00)
#define RS485HandleFlags_PMotorOperate             ((OS_FLAGS)DEF_BIT_01)
#define RS485HandleFlags_TempCtlOperate            ((OS_FLAGS)DEF_BIT_02)
#define RS485HandleFlags_ALL                       (RS485HandleFlags_Timing | RS485HandleFlags_PMotorOperate | RS485HandleFlags_TempCtlOperate)

/**
  * @brief Functions
  */


APP_EXT_START void UpdateAppSemListBF(void);


#ifdef __cplusplus
}
#endif


#endif   /*   __APP_START_H__   */
